<html>

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes" />
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link href="../assets/bootstrap-3.0.0/css/bootstrap.css?1" rel="stylesheet" type="text/css" onerror="location.reload()" />
    <link href="../assets/style.css?6" rel="stylesheet" type="text/css" onerror="location.reload()" />
    <link href="../assets/loader.css?1" rel="stylesheet" type="text/css" onerror="location.reload()" />
    <link href="./style.css?1" rel="stylesheet" type="text/css" onerror="location.reload()" />
    <script src="../assets/bootstrap-3.0.0/js/jquery.js?1" onerror="location.reload()"></script>
    <script src="../assets/offline.min.js?1" onerror="location.reload()"></script>
    <script src="../assets/onlinecheck.js?1" onerror="location.reload()"></script>
    <script src="../assets/bootstrap-3.0.0/js/bootstrap.min.js?1" onerror="location.reload()"></script>
    <script src="../assets/jquery.cookie.js?1" onerror="location.reload()"></script>
    <script src="../assets/quickpager.jquery.js?1" onerror="location.reload()"></script>
    <script src="../assets/hammer.js?1" onerror="location.reload()"></script>
    <script src="../assets/pako.js" onerror="location.reload()"></script>
    <script src="../assets/black_list_app.js?1" onerror="location.reload()"></script>
    <script src="../assets/desktop.js?1" onerror="location.reload()"></script>
    <script src="../assets/browsercheck.js?1" onerror="location.reload()"></script>
    <script src="../assets/ecosystem.js?1" onerror="location.reload()"></script>
    <script src="../assets/popupstack.js?1" onerror="location.reload()"></script>
    <script src="../assets/jquery.browser.js?1" onerror="location.reload()"></script>
    <script src="../main_menu/js/client.js?1" onerror="location.reload()"></script>
    <script src="../main_menu/js/main.js?1" onerror="location.reload()"></script>
    <link href="./assets/popupstack.css?1" rel="stylesheet" type="text/css" onerror="location.reload()" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="icon" href="/favicon.ico" type="image/x-icon">
    <title>My Red Pitaya</title>
</head>

<body class="demo">
    <div id="loader-wrapper">
        <div id="loader"></div>
        <div id="loader-desc">Getting the list of applications</div>
    </div>
    <div id="main_content">
        <div id="header">
            <div id="info" style="width: 40px;"><img src="../assets/images/info.png" style="padding-top: 0px;width: 20px;height: 20px;padding-left: 0px;margin-left: 2px;margin-top: 2px;"></div>
            <div id="ext_con_but"><img src="../assets/images/ext_conections_w.png" style="padding-top: 0px;width: 36px;height: 20px;padding-left: 0px;margin-left: 2px;margin-top: 2px;"></div>
            <div id="description"></div>
            <div id="reboot"><img src="../assets/images/power.png"></div>
        </div>
        <div class="" id="main-container">
            <ul class="paging" id="list-container">
            </ul>
        </div>
        <div id="footer">
            <div id="bug_report"><img src="../assets/images/bug_report.png" style="padding-top: 0px;width: 20px;height: 20px;padding-left: 0px;margin-left: 2px;margin-top: 2px;" download></div>
            <div id="ecosystem_info"></div>
        </div>
    </div>
    <div class="modal fade" id="ic_missing" tabindex="-1" role="dialog" aria-labelledby="bazaar_naLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="bazaar_naLabel">Connection problem</h4>
                </div>
                <div class="modal-body">
                    <p id="lic_failed">Licence verification failed! </p>
                    <p>RedPitaya is offline and cannot access the server! </p> Please follow <a style="color: #dd0020" href="http://redpitaya.com/quick-start/" target="_blank">quick start instructions</a> to put it online.
                </div>
                <div class="modal-footer">
                    <div class="bazaar-link" style="float: left; width: 50%;">
                        <a href="http://redpitaya.com/quick-start/" target="_blank" id="quick_start" class="list-group-item btn">Open instructions</a>
                    </div>
                    <div class="bazaar-link" style="float: left; width: 50%;">
                        <a id="ignore_link" href="#" data-dismiss="modal" class="list-group-item btn">Ignore</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="reboot_dialog" tabindex="-1" role="dialog" aria-labelledby="bazaar_naLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="bazaar_naLabel">Reboot</h4>
                </div>
                <div class="modal-body">
                    <p>Would you like to reboot or poweroff your Red Pitaya?</p>
                </div>
                <div class="modal-footer">
                    <div class="bazaar-link" style="float: left;width: 30%;margin-right: 5%;">
                        <a href="#" data-dismiss="modal" id="reboot_confirm" class="list-group-item btn">Reboot</a>
                    </div>
                    <div class="bazaar-link" style="float: left; width: 30%;">
                        <a href="#" data-dismiss="modal" id="poweroff_confirm" class="list-group-item btn">Poweroff</a>
                    </div>
                    <div class="bazaar-link" style="float: left;width: 30%;margin-left: 5%;">
                        <a href="#" data-dismiss="modal" id="disable_analytics" class="list-group-item btn">Cancel</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="firmware_dialog" tabindex="-1" role="dialog" aria-labelledby="bazaar_naLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="bazaar_naLabel">OS upgrade notification</h4>
                </div>
                <div class="modal-body">
                    <p>The required version of the Linux image does not match the version for the ecosystem.</p>
                    <div style="text-align: left;margin-left: 30%;">
                        <p>Current system version: <a id="CUR_VER">1.0</a></p>
                        <p>Required version: <a id="REQ_VER">1.0</a></p>
                    </div>
                    <p>Matching Linux version can be downloaded from this <a href="http://downloads.redpitaya.com/downloads/" target="_blank" id="NEW_FIRMWARE_LINK_ID" style="color: red;">link</a></p>
                </div>
                <div class="modal-footer">
                    <div class="bazaar-link">
                        <a href="#" data-dismiss="modal" id="disable_analytics" class="list-group-item btn">Cancel</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="sysinfo_dialog" tabindex="-1" role="dialog" aria-labelledby="bazaar_naLabel" aria-hidden="true">
        <div class="modal-dialog" style="width: 1280px;">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="bazaar_naLabel">System Info</h4>
                </div>
                <div class="modal-body" style="display: flex;">
                    <div style="text-align: left;margin-left: 5%;">
                        <table>
                            <col width="180px">
                            <col width="700px">
                            <tr style="height:40px;">
                                <td>Board model:</td>
                                <td><a id="SI_B_MODEL">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>MAC:</td>
                                <td><a id="SI_MAC">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>DNA:</td>
                                <td><a id="SI_DNA">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>Ecosystem:</td>
                                <td><a id="SI_ECOSYSTEM">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>Linux:</td>
                                <td><a id="SI_LINUX">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>CPU load:</td>
                                <td><a id="CPU_LOAD_ID">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>RAM size:</td>
                                <td><a id="RAM_SIZE_ID">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>Temperature:</td>
                                <td><a id="TEMP_ID">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>SD:</td>
                                <td><a id="SD_SIZE_ID">-</a></td>
                            </tr>
                        </table>
                    </div>
                    <div style="text-align: left;margin-left: 5%;">
                        <table>
                            <col width="880px">
                            <tr style="height:40px;">
                                <td colspan="2" style="text-align: center;">Sensors</td>
                            </tr>
                        </table>
                        <table>
                            <col width="450px">
                            <col width="400px">
                            <tr style="height:40px;">
                                <td>VCC PINT (1.0V):</td>
                                <td><a id="VCCPINT_ID">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>VCC PAUX (1.8V):</td>
                                <td><a id="VCCPAUX_ID">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>VCC BRAM (1.0V):</td>
                                <td><a id="VCCBRAM_ID">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>VCC INT (1.0V):</td>
                                <td><a id="VCCINT_ID">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>VCC AUX (1.8V):</td>
                                <td><a id="VCCAUX_ID">-</a></td>
                            </tr>
                            <tr style="height:40px;">
                                <td>VCC DDR (1.5V):</td>
                                <td><a id="VCCDDR_ID">-</a></td>
                            </tr>
                        </table>
                    </div>
                    <div style="text-align: left;margin-left: 5%;">
                        <table>
                            <col width="880px">
                            <tr style="height:40px;">
                                <td colspan="2" style="text-align: center;">FPGA</td>
                            </tr>
                        </table>
                        <table id="FPGA_LIST_TABLE_ID">
                            <col width="180px">
                            <col width="700px">
                            <tr style="height:40px;">
                                <td>MAC:</td>
                                <td><a id="SI_MAC">-</a></td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="modal-header">
                    <h4 class="modal-title" id="bazaar_naLabel">System settings</h4>
                </div>
                <div class="modal-body" style="display: flex;">
                    <div style="text-align: left;margin-left: 5%;">
                        <table>
                            <col width="250px">
                            <col width="200px">
                            <tr style="height:60px;">
                                <td>Enable File System Consistency Check after boot:</td>
                                <td>
                                    <label class="control control-checkbox">Enable<input id="fsck_chbox" type="checkbox" checked="checked" style=" margin-left: 10px; " />
                                        <div class="control_indicator"></div>
                                    </label>
                                </td>
                            </tr>
                            <tr style="height:60px;">
                                <td>Turn on LED:</td>
                                <td>
                                    <label  class="control control-checkbox">Enable<input id="led_chbox" type="checkbox" checked="checked" style=" margin-left: 10px; " />
                                        <div class="control_indicator"></div>
                                    </label>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div style="text-align: left;margin-left: 5%;">
                        <table>
                            <col width="250px">
                            <col width="200px">
                            <tr style="height:60px;">
                                <td id ="UBOOT_MODE_ID">-</td>
                                <td>
                                    <div id="up_boot_id" class="bazaar-link">
                                        <a class="list-group-item btn" style="margin-left: 25px;">Up to 1Gb</a>
                                    </div>
                                </td>
                            </tr>
                            <tr style="height:60px;">
                                <td>Remove stored settings for Web Apps:</td>
                                <td>
                                        <div id="delete_settings_id" class="bazaar-link">
                                            <a class="list-group-item btn" style="margin-left: 25px;">DELETE</a>
                                        </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="modal-footer">
                    <div class="bazaar-link">
                        <a href="#" data-dismiss="modal" id="disable_analytics" class="list-group-item btn">Close</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="ext_connections_dialog" tabindex="-1" role="dialog" aria-labelledby="bazaar_naLabel" aria-hidden="true">
        <div class="modal-dialog" style="width: 700px;">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="bazaar_naLabel">External Connections</h4>
                </div>
                <div class="modal-body" style="display: flex;">
                    <img src="../assets/images/red_pitaya_pinout.png" style="width: 100%;">
                </div>
                <div class="modal-footer">
                    <div class="bazaar-link">
                        <a href="#" data-dismiss="modal" id="disable_analytics" class="list-group-item btn">Close</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
